//package com.jyl.connecter.server.websocket;
//
//import com.jyl.connecter.handler.AndroidHandler;
//import com.jyl.connecter.server.custom.ProtobufDecoder;
//import com.jyl.connecter.server.custom.ProtobufEncoder;
//import io.netty.channel.ChannelInitializer;
//import io.netty.channel.ChannelPipeline;
//import io.netty.channel.socket.SocketChannel;
//
//public class AndroidInitializer extends ChannelInitializer<SocketChannel> {
//    @Override
//    protected void initChannel(SocketChannel ch) throws Exception {
////        ChannelPipeline pipeline= ch.pipeline();
//        ch.pipeline().addLast(new ProtobufDecoder());
//        ch.pipeline().addLast(new ProtobufEncoder());
//        ch.pipeline().addLast(new AndroidHandler());
//    }
//}
